-- GENERATED SPELL FOR [Curator Insivius] --


function spell0_25448(pUnit, Event) --@Charge,n/a--
pUnit:FullCastSpellOnTarget(22120,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25448', 559, 1)
end

function spell1_25448(pUnit, Event) --@Frost Nova,Self--
pUnit:FullCastSpellOnTarget(11831,pUnit)
pUnit:RegisterEvent('Sorts_25448', 8291, 1)
end

function spell2_25448(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(39171,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25448', 5289, 1)
end

function Sorts_25448(pUnit, Event)
local choix_sorts_25448 = math.random(0, 2)
if choix_sorts_25448 == 0 then
pUnit:RegisterEvent('spell0_25448', 1, 1)
end
if choix_sorts_25448 == 1 then
pUnit:RegisterEvent('spell1_25448', 1, 1)
end
if choix_sorts_25448 == 2 then
pUnit:RegisterEvent('spell2_25448', 1, 1)
end
end

function mob25448_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25448', math.random(1500, 3000), 1)
end

function mob25448_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25448_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25448_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25448, 1, 'mob25448_Action')
RegisterUnitEvent(25448, 2, 'mob25448_Leave')
RegisterUnitEvent(25448, 3, 'mob25448_Kill')
RegisterUnitEvent(25448, 4, 'mob25448_Die')
